﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using iLangl.Model;

namespace iLangl.BusinessModel.DAL
{
	public interface ISynchronizationDAL
	{
		SyncedMutliWaysData SyncObjects();
		void MarkAsSynced(SyncedMutliWaysData data);
		void MarkAsSynced(SyncedOneWayData data);


		void AddSubscriber(eEntityType type, String ojectId, String subscriberId, bool isNeedToSync);
		void RemoveSubscriber(eEntityType type, String objectId);
		void RemoveSubscriber(eEntityType type, String objectId, String subscriberId);
	}
}
